software =
{
    version = "0.1.0";
    description = "Firmware update for KAS CM4";
    hardware-compatibility: [ "0.1" ];

    scripts: (
        {
        filename = "preserve_uboot_env.sh";
        type = "shellscript";
        }
    );

    kas-rpi4 = {
        rootfsB: {
            images: (
                {
                    filename = "kas-bootimage-kas-image-kas-rpi4.fat";
                    installed-directly = true;
                    device = "/dev/mmcblk1p1";
                }
            );
        };
        rootfsA: {
            images: (
                {
                    filename = "kas-bootimage-kas-image-kas-rpi4.fat";
                    installed-directly = true;
                    device = "/dev/mmcblk1p1";
                }
            );
        };
    }

    kas-pcmm2g = {
        rootfsB: {
            images: (
                {
                    filename = "kas-bootimage-kas-image-kas-pcmm2g.fat";
                    installed-directly = true;
                    device = "/dev/mmcblk1p1";
                }
            );
        };
        rootfsA: {
            images: (
                {
                    filename = "kas-bootimage-kas-image-kas-pcmm2g.fat";
                    installed-directly = true;
                    device = "/dev/mmcblk1p1";
                }
            );
        };
    }
}

